<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
</head>

<body>
    <div class="mermaid">
        flowchart TB
  arxiv_research_task
  keyword_extractor_agent/op[keyword_extractor_agent]
  paper_downloader_agent/op[paper_downloader_agent]
  paper_analyze_agent/op[paper_analyze_agent]
  report_writer_agent/op[report_writer_agent]
  feedback_agent/op[feedback_agent]
  refinement_agent/op[refinement_agent]
  evaluation_agent/op[evaluation_agent]
subgraph ___dora___ [dora]
  subgraph ___timer_timer___ [timer]
    dora/timer/secs/1[\secs/1/]
  end
end
  dora/timer/secs/1 -- direction --> arxiv_research_task
  arxiv_research_task -- task as arxiv_research_task --> keyword_extractor_agent/op
  keyword_extractor_agent/op -- keyword_extractor_results as keywords --> paper_downloader_agent/op
  paper_downloader_agent/op -- papers_info --> paper_analyze_agent/op
  paper_analyze_agent/op -- paper_analyze_result --> report_writer_agent/op
  evaluation_agent/op -- evaluation_result --> feedback_agent/op
  report_writer_agent/op -- writer_report --> feedback_agent/op
  feedback_agent/op -- feedback_result --> refinement_agent/op
  refinement_agent/op -- refinement_result --> evaluation_agent/op

    </div>
    <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
    <script>mermaid.initialize({ startOnLoad: true, securityLevel: 'loose', theme: 'base' });
    </script>
</body>

</html>
